﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace FrogEngine
{
	public class GamePadDisconnectedEventArgs : EventArgs
	{
		public GamePadDisconnectedEventArgs(PlayerIndex index)
		{
			switch (index)
			{
				case PlayerIndex.One: DisconnectedPlayer = 1; break;
				case PlayerIndex.Two: DisconnectedPlayer = 2; break;
				case PlayerIndex.Three: DisconnectedPlayer = 3; break;
				case PlayerIndex.Four: DisconnectedPlayer = 4; break;
			}
		}

		public int DisconnectedPlayer { get; set; }
	}
}
